package demo.serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author : GuoFei
 * @date : 2019/6/11 15:31
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {

    private String name;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date createTime;
    private Integer age;
    private Boolean fake;

}
